package com.kin207.netty.handle.impl;

import com.kin207.netty.context.RequestContext;
import com.kin207.netty.handle.IMessageHandle;
import com.kin207.netty.msg.vo.TestMessageReqVo;

public class TestMessageHandle implements IMessageHandle<TestMessageReqVo> {

	public String name() {
		return "/msg/test";
	}

	public Class paramClass() {
		return TestMessageReqVo.class;
	}

	public void handle(TestMessageReqVo param) {
		RequestContext req = RequestContext.curr.get();
		
		req.wirte(req.getMessage());
	}

}
